import java.util.Scanner;

public class HomeWork0114 {

    public static void main(String[] args) {
        System.out.println("欢迎使用简易版计算器");
        Scanner s =new Scanner(System.in);
        int num1 = s.nextInt();
        System. out.print("请输入运算符+—*/中的一个");
        String oper = s.next();
        System.out.println("请输入第二个数字；");
        int num2 = s.nextInt();
        int result = 0;
        switch (oper){
            case "+":
            result = num2 + num1;
            break;
            case"-":
            result = num1- num2;
            case"/":
                result =num1 / num2;
            break;
            case "%":
                result = num1 % num2;
                break;
            default:
                System.out.println("不支持此运算！");
                return;

        }

    }
}
